import Vue from 'vue'
import Router from 'vue-router'
import Index from '../components/Index'
import User_List from "../components/user/User_List";
import Login from "../components/Login";
import Success from "../components/Success";
Vue.use(Router)

export default new Router({
  routes: [
    {path:'/',redirect:'/login'},
    {path:'/login',component:Login},
    {
      path:'/success',component:Success,
      children:[
        {path:'index',component:Index},
        {path:'user_List',component:User_List},
      ]
    },

  ]
})
